GrapeCity MultiRow Windows Forms Documentation
CreateGridTemplateForColumnMode(IEnumerable<Cell>) Method


A Cell collection that is filled to the standard left-to-right layout matrix template.
Creates a standard left-to-right layout matrix Template with the specified cells.
Syntax
Public Overloads Shared Function CreateGridTemplateForColumnMode( _
   ByVal cells As IEnumerable(Of Cell) _
) As Template
Dim cells As IEnumerable(Of Cell)
Dim value As Template
 
value = Template.CreateGridTemplateForColumnMode(cells)
public static Template CreateGridTemplateForColumnMode( 
   IEnumerable<Cell> cells
)

Parameters

cells
A Cell collection that is filled to the standard left-to-right layout matrix template.

Return Value

A Template that represents a standard left-to-right layout matrix Template.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe cells is a null reference (Nothing in Visual Basic).
System.ArgumentException

There exists one cell in cells that is a null reference (Nothing in Visual Basic).

-or-

There exists one cell in cells that has been added to another Section or Template.

-or-

No cell exists in cells.

System.InvalidOperationExceptionThere exists one cell in cells that cannot be added in the Row section.
Remarks
Each cell in cells is arranged in Row one by one. The ColumnHeaderSection and RowHeaderCell are generated. If you want to generate other elements, use CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Template Class
Template Members
Overload List
CreateGridTemplateForColumnMode(Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles,Int32) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles,Int32) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.